import Vue from 'vue'
import Router from 'vue-router'
import Contant from '@/components/Contant'
import Page1 from '@/page/Page1'
import Page2 from '@/page/Page2'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index'
    },
    {
      path: '/risk1',
      components:{
        contant:Page1
      }
    },
    {
      path: '/risk2',
      components:{
        contant:Page2
      }
    }
  ]
})
